var path=require('path');
module.exports={
	entry:'./src/index.js',
	output:{
		path:path.join(__dirname,'./dist'),
		publicPath:'/dist',
		filename:'build.js'
	},
	module:{
		loaders:[
			{
				test:/\.js$/,
				loader:'babel-loader'
			}
		]
	}
}